package com.itheima.health.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 权限,路径字段对照
 *
 * @author liCuiPing
 * @since 2022/11/23 12:10
 */
@Configuration
@ConfigurationProperties(prefix = "permission")
@Component
@Data
public class PermissionMap {
    private Map<String,String> maps;
}